<template>
  <!-- 患者检查报告 -->
  <section class="patient-layout">
    <div>
      <patientBasicInfo v-if="patientId" :cureId="cureId" :patientId="patientId"></patientBasicInfo>
    </div>
    <div style="width:0;">
      <table border="0" width="100%">
        <tr>
          <td>
            <h3 style="margin:0;">实验室检查</h3>
          </td>
          <td style="text-align:right;">
            <el-button @click="$router.back()">
              <i class="el-icon-arrow-left"></i>
              <span>返回</span>
            </el-button>
          </td>
        </tr>
      </table>
      <br>
      <labReport v-if="cureId" :cureId="cureId"></labReport>
    </div>
  </section>
</template>
<script>
export default {
  components: {
    patientBasicInfo: () => import("@/pages/_com/patientBasicInfo.vue"),
    labReport: () => import("@/pages/_com/_com/labReport.vue")
  },
  data() {
    return {
      cureId: "",
      patientId: ""
    };
  },
  mounted() {
    const th = this;
    let query = th.$route.query;
    th.verifyUrlAttack(query).then(res => {
      th.cureId = th.jieMi(query.cureId);
      th.patientId = th.jieMi(query.patientId);
      th.getData();
    });
  },
  methods: {
    getData() {}
  }
};
</script>